<table class="table" width="100%" border="0">
    <thead>
        <tr>
            <th>年月</th>
            <th>系统</th>
            <th>开发中心</th>
            <th>中心投入人数</th>
            <th>公司投入人数</th>
            <th>修改时间</th>
            <th>修改人</th>
            {{if not request.user.is_gm:}}
            <th>修改</th>
            {{pass}}
            {{if request.user.is_superuser:}}
            <th>删除</th>
            {{pass}}
        </tr>
    </thead>
    <tbody>
    {{for obj in objects:}}
        <tr>
            <td>{{=obj.year_month}}</td>
            <td>{{=obj.system.name}}</td>
            <td>{{=obj.kfzx.name}}</td>
            <td>{{=obj.inner_number}}</td>
            <td>{{=obj.outter_number}}</td>
            <td>{{=obj.field_str(obj.modified_date)}}</td>
            <td>{{=obj.modified_user.username}}</td>
            {{if not request.user.is_gm:}}
            <td>
            <a href="/systems/details/{{=obj.id}}/edit">修改</a>
            </td>
            {{pass}}
            {{if request.user.is_superuser:}}
            <td>
            <a href="/systems/details/{{=obj.id}}/delete" onclick="return confirm('确定要删除当前记录吗？');">删除</a>           
            </td>
            {{pass}}
        </tr>
    {{pass}}
    </tbody>
</ul>